﻿using HRMSystem.Wpf;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace HRMSystem.Util
{
    public static class IDGenerator
    {
        public static string ImageID(EmpPageRequestType type)
        {
            string ID = null;

            DateTime unixStart = DateTime.SpecifyKind(new DateTime(1970, 1, 1), DateTimeKind.Utc);
            long epoch = (long)Math.Floor((DateTime.Now.ToUniversalTime() - unixStart).TotalSeconds);

            return epoch.ToString();
          
        }

    }
}
